package com.yf.system.modules.user.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * 用户消息发送请求类
 * @author van
 */
@Data
@ApiModel(value="用户消息发送请求类", description="用户消息发送请求类")
public class UserMsgReqDTO {

    @ApiModelProperty(value = "消息模板", required=true)
    private String tmplId;

    @ApiModelProperty(value = "接收对象")
    private List<String> userIds;

    @ApiModelProperty(value = "消息参数")
    private LinkedHashMap<String,String> params;

    @ApiModelProperty(value = "链接类型")
    private String linkType;

    @ApiModelProperty(value = "链接ID")
    private String linkId;

    @ApiModelProperty(value = "站内信")
    private Boolean useIm;

    @ApiModelProperty(value = "短信")
    private Boolean useSms;

    @ApiModelProperty(value = "邮件")
    private Boolean useEmail;
}
